package com.kfm.base.arrays;

public class Exer01 {

    public static void main(String[] args) {
        char[][] chunxiao = {
                {'春', '眠', '不', '觉', '晓'},
                {'处', '处', '闻', '啼', '鸟'},
                {'夜', '来', '风', '雨', '声'},
                {'花', '落', '知', '多', '少'}
        };

//        for (int i = 0; i < chunxiao.length; i++) {
//            for (int j = 0; j < chunxiao[i].length; j++) {
//                System.out.print(chunxiao[i][j] + " ");
//            }
//            System.out.println();
//        }

        for (int j = 0; j < chunxiao[0].length; j++) {
            for (int i = chunxiao.length - 1; i >= 0; i--) {
                System.out.print(chunxiao[i][j] + " ");
            }
            System.out.println();
        }
    }
}
